﻿<Core:DXWindow x:Class="ThanNhanTao.frmThongKeTongSoLanChay"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
        xmlns:Core="clr-namespace:DevExpress.Xpf.Core;assembly=DevExpress.Xpf.Core.v11.1"
        xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
        dxc:ThemeManager.ThemeName="Office2007Blue" Icon="/ThanNhanTao;component/Images/iconbv48x48.ico"
        Title="Thống kê tổng số lần chạy thận" Height="200" Width="650">
    <Core:DXWindow.Resources>
        <Style TargetType="Label">
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="dxe:DateEdit">
            <Setter Property="Margin" Value="2,2" />
        </Style>
        <Style TargetType="dxe:ComboBoxEdit">
            <Setter Property="Margin" Value="1,1" />
        </Style>
        <Style TargetType="Button">
            <Setter Property="Margin" Value="1,1" />
        </Style>
    </Core:DXWindow.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="28"></RowDefinition>
            <RowDefinition Height="14"></RowDefinition>
            <RowDefinition Height="40"></RowDefinition>
            <RowDefinition Height="40"></RowDefinition>
            <RowDefinition Height="20"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"></ColumnDefinition>
            <ColumnDefinition Width="130"></ColumnDefinition>
            <ColumnDefinition Width="8"></ColumnDefinition>
            <ColumnDefinition Width="60"></ColumnDefinition>
            <ColumnDefinition Width="130"></ColumnDefinition>
            <ColumnDefinition Width="8"></ColumnDefinition>
            <ColumnDefinition Width="100"></ColumnDefinition>
            <ColumnDefinition Width="85"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Label Name="lblTenBenhNhan" Content="Tên bệnh nhân:" ></Label>
        <dxe:ComboBoxEdit Name="cboTenBenhNhan" Grid.Column="1" Grid.ColumnSpan="3" AutoComplete="True"></dxe:ComboBoxEdit>
        <Label Name="lblTuNgay" Grid.Row="1" Content="Từ ngày:" Foreground="Red"></Label>
        <dxe:DateEdit Grid.Column="1" Grid.Row="1" Name="deTuNgay" 
                      Mask="dd/MM/yyyy" MaskAutoComplete="Optimistic" MaskType="DateTimeAdvancingCaret" DisplayFormatString="dd/MM/yyyy"/>
        <Label Name="lblDenNgay" Grid.Row="1" Content="Đến ngày:" Grid.Column="3" Foreground="Red"></Label>
        <dxe:DateEdit Grid.Column="4" Grid.Row="1" Name="deDenNgay" 
                      Mask="dd/MM/yyyy" MaskAutoComplete="Optimistic" MaskType="DateTimeAdvancingCaret" DisplayFormatString="dd/MM/yyyy" />
        <Button Name="btnThongKe" Grid.Column="6" Grid.Row="1" Content="Thống kê" Click="btnThongKe_Click" />
        <Button Name="btnDong" Grid.Column="7" Grid.Row="1" Content="Đóng" Click="btnDong_Click" />
        <Label Name="lblThongKeChayThanChuaXuatVien" Content="Tổng số lần chạy thận đang điều trị: ..... lần" 
               Grid.Row="3" Grid.ColumnSpan="8" FontWeight="Bold" FontSize="20" Foreground="Red" HorizontalContentAlignment="Center"></Label>
        <Label Name="lblThongKeChayThanDaXuatVien" Content="Tổng số lần chạy thận trước khi xuất viện: ..... lần" 
               Grid.Row="4" Grid.ColumnSpan="8" FontWeight="Bold" FontSize="20" Foreground="Red" HorizontalContentAlignment="Center"></Label>
    </Grid>
</Core:DXWindow>
